You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > CartToPolar Method > TMtxVec.CartToPolar Method ([In] TMtxVec, [In] TMtxVec)
Dew Math for .NET
ContentsIndexHome
Example
using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TMtx A, Ampl, Phase; MtxVec.CreateIt(out A, out Ampl, out Phase); try { a.SetIt(2, 2, true, new double[] {1,0, 2,0, 2,0, 4,1}); A.CartToPolar(Amplt, Phasw); } finally { MtxVec.FreeIt(ref A, ref Amplt, ref Phase); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.